package com.ssyt.ssh.sys.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssyt.ssh.sys.dao.CategoryDao;
import com.ssyt.ssh.sys.entity.Category;
import com.ssyt.ssh.sys.service.CategoryService;

@Service
public class CategoryServiceImpl implements CategoryService {
	
	@Autowired
	private CategoryDao category;

	@Override
	public List<Category> listCate(Integer userid) {
		return category.listCate(userid);
	}

	@Override
	public List<Category> listAllCate() {
		return category.listAllCate();
	}
	
}
